#!/bin/sh -xe
# $Id$

# This is for devel use.
#  After changing stuff in files/installcd-initrd and files/host-initram
#  and then creating the initrams for testing.

. files/env
wd="`pwd`"

set -Ee

./bin/mk-dir-struct.sh 2>&1 | tee ./tmp/build.log
./bin/build-auxbuildroot cpfiles 2>&1 | tee ./tmp/build.log
./bin/build-auxbuildroot setperms 2>&1 | tee -a ./tmp/build.log
chroot $auxbuildroot_dir ./BIN/build-nemopkg encdb
chroot $auxbuildroot_dir ./BIN/build-nemopkg rngtools
./bin/build-dsktool

set +eE
